package com.huak.zookeeper.curator;

import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;

/**
 * @author liuhuan
 * @date 2018/9/24 10:07
 * @description
 */
@Slf4j
public class MyWatcher implements Watcher {
    @Override
    public void process(WatchedEvent event) {
        log.info("Watcher path :{}",event.getPath());
    }
}
